<script type="text/html" template lay-done="layui.data.done(d.params);"></script>
<table class="layui-hide" id="J_report_list" lay-filter="J_report_list"></table>

<script>

layui.data.done = function(params){

;!function(){
    var $ = layui.$
    ,table = layui.table;
    
    table.render({
      elem: '#J_report_list'
      ,url: '{:url('wendasns/report/reason')}'+'?id='+params.id
      ,cols: [[
        {type:'numbers'}
        ,{field:'reason', title:'举报原因', minWidth:120}
        ,{field:'username', title:'举报人', width:120}
        ,{field:'ip', title:'举报IP', width:120}
        ,{field:'create_time', title:'举报时间',width:160}
      ]]
      ,page: true
      ,limit: 10
      ,height: 'auto'
      ,text: {
        none: '对不起，加载出现异常！'
      }
    })
  
}();

};

</script>